- What is Domain-Driven Design?
- Working With Data
- Value Objects
- Data Transfer Objects
- Repositories
- Services
- Actions
Discover gists
- http://stackoverflow.com/questions/804115 (
rebase
vsmerge
). - https://www.atlassian.com/git/tutorials/merging-vs-rebasing (
rebase
vsmerge
) - https://www.atlassian.com/git/tutorials/undoing-changes/ (
reset
vscheckout
vsrevert
) - http://stackoverflow.com/questions/2221658 (HEAD^ vs HEAD~) (See
git rev-parse
) - http://stackoverflow.com/questions/292357 (
pull
vsfetch
) - http://stackoverflow.com/questions/39651 (
stash
vsbranch
) - http://stackoverflow.com/questions/8358035 (
reset
vscheckout
vsrevert
)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Report on "stuck" ether in empty contracts | |
// https://github.com/ethereum/EIPs/issues/156 | |
// Usage: node find-stuck-ether.js [startBlock] [endBlock] > report.txt | |
let Eth = require('ethjs'); | |
let eth = new Eth(new Eth.HttpProvider('http://localhost:8545')); | |
let ethutil = require('ethereumjs-util') | |
async function main() { |
Running multiple GitLab CI runners as normal users
- Install gitlab multi runner systemwide: https://docs.gitlab.com/runner/install/
- Register the runner as an unpriviledged user (paste the secret key in your repo's runners page). This should create your configuration config (toml) file.
gitlab-runner register
- Register the service as root user by passing the path to the toml file and the user flag and the service name (needs to be unique per user or runner).
gitlab-runner install --config /home/myuser/.gitlab-runner/config.toml --user myuser --working-directory /home/myuser --service myuser_gitlabrunner
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git clone git@github.com:xxxxx/xxxx.git my-awesome-proj | |
Cloning into 'my-awesome-proj'... | |
ssh: connect to host github.com port 22: Connection timed out | |
fatal: Could not read from remote repository. | |
$ # This should also timeout | |
$ ssh -T git@github.com | |
ssh: connect to host github.com port 22: Connection timed out | |
$ # but this might work |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
iatest=$(expr index "$-" i) | |
####################################################### | |
# SOURCED ALIAS'S AND SCRIPTS BY zachbrowne.me | |
####################################################### | |
# Source global definitions | |
if [ -f /etc/bashrc ]; then | |
. /etc/bashrc |
WiX For Drunks
The WiX Toolset, the definitive command line toolset for creating Microsoft Installer packages, is famous for being a royal pain in the ass to learn. This tutorial attempts to cut through the problems this author encountered with the existing free reading material. Mostly it will introduce from the beginning the concepts you will need to understand to avoid encountering bajillions of confusing errors the very instant you exceed the use cases available in a tutorial.
Using WiX Tools
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RAR registration data | |
Hardik | |
www.Hardik.live | |
UID=448c4a899c6cdc1039c5 | |
641221225039c585fc5ef8da12ccf689780883109587752a828ff0 | |
59ae0579fe68942c97d160f361d16f96c8fe03f1f89c66abc25a37 | |
7777a27ec82f103b3d8e05dcefeaa45c71675ca822242858a1c897 | |
c57d0b0a3fe7ac36c517b1d2be385dcc726039e5f536439a806c35 | |
1e180e47e6bf51febac6eaae111343d85015dbd59ba45c71675ca8 | |
2224285927550547c74c826eade52bbdb578741acc1565af60e326 |
NewerOlder